<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="../style/style.css" />
<link type="text/css" rel="stylesheet" href="../style/datepicker.css">
<script src="../js/jquery-1.4.2.min.js"></script>
</head>
<body class="indexbody">
	<#assign a=0>
  	<#assign b=0>
  	<#list allPower?if_exists as power>
  		<#if power?number == 233>
  			<#assign a=a+1>
  		</#if>
  		<#if power?number == 234>
  			<#assign b=b+1>
  		</#if>
  	</#list>
<div id="Content">
  <div style="width:100%; ">
  <div class="DesktopBlock" >
  <div id="Block">
          <div id="BlockHead">
            <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
              <tbody>
                <tr valign="center">
                  <td width="5"></td>
                  <td>维权投诉</td> 
                  <td width="22"></td>
                </tr>
              </tbody>
            </table>
          </div>
          <form method="post" action="complainList.action" id="complainList" name="complainList">
          <ul class="tablerow4" style="height:50px;">
                      <table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
    <td height="34" colspan="6" align="center" valign="middle"  style="height:34px;background-image:url(../gif/bgd.png)"><span class="STYLE109">
        查询时间段：
        <input  id="id_startDate" name="join_date1" type="text" value=""  size="15" readonly="true" style="height:18px;" class="ipticon" >
      -
      <input id="id_backDate" name="join_date2" type="text" value=""  readonly="true" style="height:18px;" class="ipticon" size="15" >
        查询条件：
      <select name="ishandle" id="ishandle">
  <option value="0" selected>-选择状态-</option>                              
  <option value="1" <#if ishandle==1>selected</#if>>未处理                                         
  
  <option value="2" <#if ishandle==2>selected</#if>>已处理                                       
  
</select>
            <label>
      <select name="paramName" id="paramName"class="background-zi se-po">
          <option value="" selected>-选择条件名称-</option>
    <option value="complain_name" <#if paramName?default("")=="complain_name">selected</#if>>投诉人
    
    <option value="complain_content" <#if paramName?default("")=="complain_content">selected</#if>>投诉内容
    
    <option value="complain_phone" <#if paramName?default("")=="complain_phone">selected</#if>>投诉人手机
    
          </select>
      </label>
&nbsp;&nbsp;查询条件：
<input name="paramValue" id="paramValue" style="height:18px;" type="text" size="12" />
      </span><span class="STYLE109" style=" position:absolute;margin-top:2px;" > &nbsp;
      <input name="Submit" style=" vertical-align:middle" type="submit" value="开始查询" src="../images/sosuo.gif"  width=26 height=25>
      </span></td>
    </tr>
</table>

                    
                    </ul>
          <div id="BlockDetail">
          <table border="0" cellpadding="1" cellspacing="1" width="100%" bgcolor="#f6f6f6">
<tbody><tr>
    <td align="center" bgcolor="#EAEAEA" width="7%">序号</td>
    <td align="center" bgcolor="#EAEAEA" width="34%">投诉内容</td>
    <td align="center" bgcolor="#EAEAEA" width="10%">投诉人</td>
    <td align="center" bgcolor="#EAEAEA" width="15%">投诉人手机</td>
    <td align="center" bgcolor="#EAEAEA" width="15%">投诉日期</td>
    <td align="center" bgcolor="#EAEAEA" width="10%">处理</td>
    <td width="9%" height="30" align="center" bgcolor="#EAEAEA">操作</td>
</tr>
                                          
<#list complainList?if_exists as clist>                                          
<tr>
    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="30">${clist.complain_id?default('')}</td>
    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="30"><div  style="margin:0px 10px; width:atuo; height:30px; line-height:30px; overflow:hidden;"><a href="complainInfo.action?complain_id=${clist.complain_id?default('')}">${clist.complain_content?default('')}</a></div></td> 
    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="30">${clist.complain_name?default('')}</td>
    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="30">${clist.complain_phone?default('')}</td>
    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="30">${clist.add_time?datetime?string("yyyy-MM-dd HH:mm:ss")}</td>
    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="30"><#if clist.ishandle==1><span class="h2-gray">未处理</span></#if>
        <#if clist.ishandle==2><span class="h2-red">已处理 </#if></span></td>
    
    <td class="STYLE10" align="center" bgcolor="#FFFFFF" height="30"><table border="0" cellpadding="0" cellspacing="0" width="200">
      <tbody><tr>
        <td align="center" height="20">
        <#if a==0>
    		<font color="#777777">处理</font>
    	<#else>
    		 <a class='example5' href="complainEditload.action?complain_id=${clist.complain_id?default('')}">处理</a>
    	</#if>
        <#if b==0>
    		<font color="#777777">删除</font>
    	<#else>
    		<a href="complainDelete.action?complain_id=${clist.complain_id?default('')}" onClick="return window.confirm('您确定要删除该信息吗？')">删除</a></td>
    	</#if>
        </tr>
    </tbody></table></td>
    </tr>
     </#list>
									  </tbody></table>
                                      <div id="BlockFoot">
              <div class="left"><span class="STYLE10">第<span class="h2-red">${page}</span>页/共<span class="h2-red">${intPageCount}</span>页,总计<span class="h2-red">${intRowCount}</span>条记录</span></div>
												
<div class="right"><span class="STYLE10"> 
<#if page gt 1 > [<a href="complainPageList.action?page=1">首页</a>]<#else> [首页]</#if> 
<#if page gt 1 >[<a href="complainPageList.action?page=${page-1}">上一页</a>]<#else>[上一页]</#if>
<#if page lt intPageCount >[<a href="complainPageList.action?page=${page+1}">下一页</a>] <#else>[下一页]</#if>
<#if page lt intPageCount >[<a href="complainPageList.action?page=${intPageCount}">尾页</a>] <#else>[尾页]</#if>
转向<select id="page" name="page" onChange="document.complainList.submit();;">
      <#assign p=intPageCount>
      <#if p==0>
      <option value='0' selected>1</option>
      <#else>
      <#list 1..p as j>
      <option value='${j}'
          <#if page==j>selected</#if>>${j}</option>
      
      </#list>
      </#if></select> 页 </span></div>
            </div>
           </div> 
           </form>
      </div>
        </div>
      </div>
  </div>
<!--日历js-->
<script type="text/javascript" src="../js/mgtool.js"></script>
<script type="text/javascript" src="../js/DatePicker.js"></script>
<script type="text/javascript" src="../js/h_index_2012.js"></script>
</body>
</html>

